package org.rency.ues.dal.entity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class CertificationDO extends BaseDO {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1323275416976033760L;

	private final String[]      ToStringExcludes         = { "certPassword"};

	private int id;
	
	private String cert;
	
	private String certType;
	
	private String certPassword;
	
	private String serialNo;

	private String orgiEmail;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCert() {
		return cert;
	}

	public void setCert(String cert) {
		this.cert = cert;
	}

	public String getCertType() {
		return certType;
	}

	public void setCertType(String certType) {
		this.certType = certType;
	}

	public String getCertPassword() {
		return certPassword;
	}

	public void setCertPassword(String certPassword) {
		this.certPassword = certPassword;
	}

	public String getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}

	public String getOrgiEmail() {
		return orgiEmail;
	}

	public void setOrgiEmail(String orgiEmail) {
		this.orgiEmail = orgiEmail;
	}

	@Override
	public String toString(){
		return new ReflectionToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).setExcludeFieldNames(ToStringExcludes).toString();
	}

}
